<template>
  <div class="dialog-form">
    <div class="dialog-footer">
      <el-button @click="onCancel">取消</el-button>
      <el-button type="primary" @click="onConfirm">确认</el-button>
    </div>
  </div>
</template>

<script setup>
const emits = defineEmits(['cancel', 'confirm'])

const pageInit = () => {

}

const onCancel = () => {
  emits('cancel')
}

const onConfirm = () => {
  
}

defineExpose({
  pageInit
})

</script>

<style lang="scss" scoped>

</style>